﻿using KNet.Data.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CNKI.TPI.Web.Search.Model
{
    public enum SearchType
    {
        TPI = 0,
        CNKI = 1,
        KSPIRDER = 2
    }
    public class SYS_CMS_DATABASE : BaseModel, ITable
    {
        public string DatabaseCode { set; get; }
        public string DatabaseName { set; get; }
        public int DatabasePubFlag { set; get; }
        public int VisibleFlag { set; get; }
        public int SortSn { set; get; }
        public int SysID { set; get; }
        public int TemplateID { set; get; }
        public string FilePath { get; set; }
        public int DatabaseType { get; set; }
        public int IsUnicode { get; set; }
        public int Secrity { get; set; }
        public DateTime CreateDate { get; set; }
        public string DatabaseDescript { get; set; }
        public int MappingFlag { set; get; }
        public int OrderType { set; get; }
        public string DatabaseTypeName { get; set; }
        public string PaperType { get; set; }
        public string PaperFieldValue { get; set; }
        public string DatetimeFlag { get; set; }
        public int SearchType { get; set; }
        public int StyleFlag { get; set; }

        public int RecordCheckPubFlag { set; get; }
        public string DatabaseURL { get; set; }
        public string Owner { get; set; }
        public string PassWord { get; set; }
        public string VIP { get; set; }
        public int VPort { get; set; }
        public string VUserName { get; set; }
        public string VPassWord { get; set; }
        public string VViewName { get; set; }
    }
}
